<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        input[type='checkbox']:checked, input[type='radio']:checked {
            width: 30px;
            height: 30px;
        }
        .msg:disabled {
            background-color: gray;
        }
    </style>
</head>
<body>
    <h1>ui 伪类</h1>
    <h2>checked 伪类</h2>
    <div>
        <input type="checkbox">
        <input type="radio" name="r1">
        <input type="radio" name="r1">
    </div>
    <h2>disable 伪类</h2>
    <div>
        <input disabled class="msg" type="text">
        <input disabled="" type="text">
    </div>
</body>
</html>